const parse = require('./lexical.js')
const Expression = require('./syntax.js')

const str = "1024 + 2 * 256"
let tokens = parse(str)
//console.log(tokens)
let nodes = Expression(tokens)
console.log(JSON.stringify(nodes, null, '  '))
